<!-- Begin isets/reports.tpl -->

<br />
{opentable}
{titlebar colspan=8 title=$lg->reports}

<tr>
<td class="sectiontableheader" width="5%" align="left">{$lg->ID}</td>
<td class="sectiontableheader" width="15%">{$lg->date}</td>
<td class="sectiontableheader">{$lg->userid}</td>
<td class="sectiontableheader" width="5%" align="center">{$lg->mode_local}</td>
<td class="sectiontableheader" width="5%" align="center">{$lg->is_inv}</td>
<td class="sectiontableheader" width="10%" align="right">{$lg->timeH}</td>
<td class="sectiontableheader" width="10%" align="right">{$lg->units}</td>
<td class="sectiontableheader" width="10%" align="center">{$lg->edit}</td>
</tr>
{if is_array($reports)}
{foreach from=$reports key=rrid item=report}
<tr class="{rowcolor}">
<td width="5%">{$report.rrid}</td>
<td width="15%">{$report.opened|userdate}</td>
<td >{username id=$report.userid}</td>

<td width="5%" align="center">
{if $report.is_remote eq "f"}
<img src="{$smarty.env.imgs.checked_on}" border="0" alt="Active" />
{else}
&nbsp
{/if}

<td width="5%" align="center">
{if $report.is_invoice eq "t"}
<img src="{$smarty.env.imgs.checked_on}" border="0" alt="Active" />
{else}
&nbsp
{/if}

<td width="10%" align="right">{$report.duration}</td>
<td width="10%" align="right">{$report.units}</td>
<td width="10%" align="center"><a href="?module=isets&action=view_report&rrid={$report.rrid}"><img src="{$smarty.env.imgs.edit}" border="0" alt="Edit" /></a></td>
</tr>
{/foreach}
{else}
<tr>
<td class="systmsg" colspan="8">{$lg->no_data}</td>
</tr>
{/if}
</table>

</table>


<!-- End isets/reports.tpl -->

